<template>
    <div class="swiper-container">
      <!-- swiper -->
      <swiper :options="swiperOption">
        <swiper-slide>
        	<OneDayClassTable today="0"></OneDayClassTable>
        </swiper-slide>
        <swiper-slide>
        	<OneDayClassTable today="1"></OneDayClassTable>
        </swiper-slide>
      <div class="swiper-pagination" slot="pagination"></div>
      </swiper>
    </div>
</template>

<script>
import OneDayClassTable from './oneclasstable'
import { swiper, swiperSlide } from 'vue-awesome-swiper'
require('swiper/dist/css/swiper.css')
  export default {
    data() {
      return {
        swiperOption: {
          pagination: '.swiper-pagination',
          paginationClickable: true,
          width : window.innerWidth,
           onTransitionStart(swiper){
            console.log(swiper)
          }
        }
      }
    },
    components:{
      swiper, 
      swiperSlide,
	  OneDayClassTable
    },
    mounted(){
    	// console.log(this.$store.state.datas.classes)
    }
  }
</script>

<style>
  .swiper-container {
    height: 100%;
  }
  .swiper-slide {
    width: 100%;
    height: 100%;
    overflow: scroll;
  }
</style>
